<template>
    <view class="page" :style="themeColor">
    <view class="flex benben-position-layout flex flex-wrap align-center study_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
        <view>
        <benben-flex-tabs class-name='study_benbenTabsfd0_0' v-model="taps" ref="benben_tabsfd0_0" select-mark="benben_tabsfd0_0" key="benben_tabsfd0_0" :open-title-type='false' :open-sticky='true' :top='0' :is-show-content='false' :scrollspy='false'  :tabs-info.sync="tabsInfofd0_0"  >
            
    <view   class='flex flex-wrap align-center study_leftfd0_0_c0'     >
        </view>

                    <scroll-view
          @scroll="tabsInfofd0_0.scrollX = $event.detail.scrollLeft"
          id="benben_tabsfd0_0"
          class="benben-tabs"
          style="width:750rpx"
          :scroll-x="true"
          :scroll-left.sync="tabsInfofd0_0.moveX"
          scroll-with-animation="all .3s ease"
        >
          <view class="benben-tabs-content" id="benben_tabsfd0_0-content">
            <view id="benben_tabsfd0_0-title" class="benben-tabs-title flex align-center justify-around flex ">
                        <view 
                :class="{ 'checkTitlefd0_0': taps == '1', 'flex flex-wrap align-center': true }"
                @tap="taps = '1'"
                :id="`benben_tabsfd0_0-title-item-${'1'}`"
                
              >
                
<text  >我的课程</text>

              </view>            <view 
                :class="{ 'checkTitlefd0_0': taps == '2', 'flex flex-wrap align-center': true }"
                @tap="taps = '2'"
                :id="`benben_tabsfd0_0-title-item-${'2'}`"
                
              >
                
<text  >我的考试</text>

              </view>            <view 
                :class="{ 'checkTitlefd0_0': taps == '3', 'flex flex-wrap align-center': true }"
                @tap="taps = '3'"
                :id="`benben_tabsfd0_0-title-item-${'3'}`"
                
              >
                
<text  >错题回顾</text>

              </view>
            </view>
            <view :style="{ left: tabsInfofd0_0.lineleft, maxWidth: tabsInfofd0_0.lineWidth }" id="benben_tabsfd0_0-line" class="benben-tabs-line flex benben-flex-tabs-line study_linefd0_0"></view>
          </view>
        </scroll-view>
            
    <view   class='flex flex-wrap align-center study_rightfd0_0_c0'     >
        </view>

        </benben-flex-tabs>
        
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex benben-flex-layout flex-wrap align-center"  v-if= "taps=='1'" >
        <view>
        <benben-flex-tabs class-name='study_benbenTabsfd1_0' v-model="secTaps" ref="benben_tabsfd1_0" select-mark="benben_tabsfd1_0" key="benben_tabsfd1_0" :open-title-type='false' :open-sticky='true' :top='0' :is-show-content='false' :scrollspy='false'  :tabs-info.sync="tabsInfofd1_0"  >
            
                    <scroll-view
          @scroll="tabsInfofd1_0.scrollX = $event.detail.scrollLeft"
          id="benben_tabsfd1_0"
          class="benben-tabs"
          style="width:750rpx"
          :scroll-x="true"
          :scroll-left.sync="tabsInfofd1_0.moveX"
          scroll-with-animation="all .3s ease"
        >
          <view class="benben-tabs-content" id="benben_tabsfd1_0-content">
            <view id="benben_tabsfd1_0-title" class="benben-tabs-title flex align-center justify-center flex ">
                        <view 
                :class="{ 'checkTitlefd1_0': secTaps == '1', 'flex flex-wrap align-center study_titlefd1_0_c3': true }"
                @tap="secTaps = '1'"
                :id="`benben_tabsfd1_0-title-item-${'1'}`"
                
              >
                
<text  >正在学习</text>

              </view>            <view 
                :class="{ 'checkTitlefd1_0': secTaps == '2', 'flex flex-wrap align-center': true }"
                @tap="secTaps = '2'"
                :id="`benben_tabsfd1_0-title-item-${'2'}`"
                
              >
                
<text  >已完成</text>

              </view>
            </view>
            <view :style="{ left: tabsInfofd1_0.lineleft, maxWidth: tabsInfofd1_0.lineWidth }" id="benben_tabsfd1_0-line" class="benben-tabs-line flex benben-flex-tabs-line study_linefd1_0"></view>
          </view>
        </scroll-view>
            
        </benben-flex-tabs>
        
</view>
</view>
        
<!---flex布局flex布局结束-->
<!---我的课程flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout study_flex_2"  v-if= "taps=='1'" >
            <view   class='flex flex-wrap align-center justify-end study_fd2_0'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/course/courseDetails/courseDetails?aid=1`"   >
            <view   class='flex flex-wrap align-center study_fd2_0_c0'     >
        <image class='study_fd2_0_c0_c0' mode="aspectFit"  :src='STATIC_URL+"40.png"'></image>
    <view   class='flex flex-wrap align-center justify-center study_fd2_0_c0_c1'     >
        <text class='study_fd2_0_c0_c1_c0' >必学</text>
</view>
</view>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub'     >
            <view   class='flex flex-wrap align-center justify-between'     >
        <text class='study_fd2_0_c1_c0_c0' >齐发爆破</text>
<button class='study_fd2_0_c1_c0_c1'  v-if= "secTaps=='1'" >开始学习</button><button class='study_fd2_0_c1_c0_c1'  v-if= "secTaps=='2'" >重新学习</button>
</view>
    <view   class='flex flex-wrap align-center justify-between study_fd2_0_c1_c1'     >
            <view   class='flex flex-wrap align-center'     >
        <text class='study_fd2_0_c1_c1_c0_c0' >共</text>
<text class='study_fd2_0_c1_c1_c0_c0' >10</text>
<text class='study_fd2_0_c1_c1_c0_c0' >章节</text>
</view>
    <view   class='flex flex-wrap align-center'     >
        <text class='study_fd2_0_c1_c1_c0_c0' >56</text>
<text class='study_fd2_0_c1_c1_c0_c0' >人学习</text>
</view>
</view>
    <view   class='flex flex-wrap align-center study_fd2_0_c1_c2'     >
        <text class='study_fd2_0_c1_c1_c0_c0' >学习进度</text>
<view class='flex benben-progress-bar study_fd2_0_c1_c2_c1' >
    <view  class='benben-progress-bar-center study_progress1_fd2_0_c1_c2_c1' :style="{width: 50+'%'}"></view>
    
</view>
<text class='study_fd2_0_c1_c2_c2' >48%</text>
</view>
</view>
</view>
</view>
        
<!---我的课程flex布局结束-->
<!---我的考试flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout study_flex_3"  v-if= "taps=='2'" >
            <view   class='flex flex-wrap align-center justify-end study_fd3_0'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/course/doTheQuestion/doTheQuestion?type=1`"   >
            <view   class='flex flex-wrap align-center study_fd3_0_c0'     >
        <image class='study_fd3_0_c0_c0' mode="aspectFit"  :src='STATIC_URL+"40.png"'></image>
    <view   class='flex flex-wrap align-center justify-center study_fd3_0_c0_c1'     >
        <text class='study_fd3_0_c0_c1_c0' >必学</text>
</view>
</view>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub'     >
            <view   class='flex flex-wrap align-center justify-between study_fd3_0_c1_c0'     >
        <text class='study_fd3_0_c1_c0_c0' >排土工程-考试</text>
<button class='study_fd3_0_c1_c0_c1'  v-if= "secTaps=='1'" >开始考试</button>
</view>
    <view   class='flex flex-wrap align-center study_fd3_0_c1_c1'     >
        <text class='study_fd3_0_c1_c1_c0' >考试次数：</text>
<text class='study_fd3_0_c1_c1_c0' >3</text>
<text class='study_fd3_0_c1_c1_c0' >/</text>
<text class='study_fd3_0_c1_c1_c0' >3</text>
</view>
    <view   class='flex flex-wrap align-center study_fd3_0_c1_c1'     >
        <text class='study_fd3_0_c1_c1_c0' >最终成绩：</text>
<text class='study_fd3_0_c1_c1_c0' >暂无</text>
</view>
    <view   class='flex flex-wrap align-center study_fd3_0_c1_c1'     >
        <text class='study_fd3_0_c1_c1_c0' >截止时间：</text>
<text class='study_fd3_0_c1_c1_c0' >22023-05-06 12:00:00</text>
</view>
</view>
</view>
</view>
        
<!---我的考试flex布局结束-->
<!---错题回顾flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout study_flex_4"  v-if= "taps=='3'" >
            <view   class='flex flex-direction flex-wrap align-center study_fd4_0'     >
            <view   class='flex flex-direction flex-wrap align-center justify-center study_fd4_0_c0'     >
        <text class='study_fd4_0_c0_c0' >200</text>
<text class='study_fd4_0_c0_c1' >错题</text>
</view>
</view>
    <view   class='flex flex-wrap align-center justify-end study_fd4_1'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/course/doTheQuestion/doTheQuestion?aid=1`"   >
            <view   class='flex flex-wrap align-center study_fd4_1_c0'     >
        <image class='study_fd4_1_c0_c0' mode="aspectFit"  :src='STATIC_URL+"40.png"'></image>
    <view   class='flex flex-wrap align-center justify-center study_fd4_1_c0_c1'     >
        <text class='study_fd4_1_c0_c1_c0' >必学</text>
</view>
</view>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub'     >
            <view   class='flex flex-wrap align-center justify-between study_fd4_1_c1_c0'     >
        <text class='study_fd4_1_c1_c0_c0' >齐发爆破</text>
</view>
    <view   class='flex flex-wrap align-center justify-between'     >
            <view   class='flex flex-wrap align-center'     >
        <text class='study_fd4_1_c1_c1_c0_c0' >错题数量：</text>
<text class='study_fd4_1_c1_c1_c0_c0' >50</text>
</view>
<button class='study_fd4_1_c1_c1_c1'   >重新做题</button>
</view>
</view>
</view>
</view>
        
<!---错题回顾flex布局结束-->
    
    
    </view>
</template>
<script>
    
    export default {
        components:{},
        
        
        data(){
			return {"tabsInfofd1_0":{ lineleft: '', lineWidth: '', moveX: 0, scrollX: 0, PageScrollX: 0 },"tabsInfofd0_0":{ lineleft: '', lineWidth: '', moveX: 0, scrollX: 0, PageScrollX: 0 },"taps":1,"secTaps":1};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
            
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:var(--benbenbgColor1);background-size: 100% auto !important;
        }
    .study_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .study_linefd0_0{
        background:rgba(205, 150, 45, 1);width:32rpx;height:4rpx;top:80rpx;background-size:100% auto !important;
    }
    .study_rightfd0_0_c0{
        width:100rpx;height:100%;padding:0rpx 32rpx 0rpx 0rpx;
    }
    .study_leftfd0_0_c0{
        width:100rpx;height:100%;padding:0rpx 0rpx 0rpx 32rpx;
    }
    .checkTitlefd0_0{
        font-weight:700 !important;font-size:32rpx !important;color:rgba(205, 150, 45, 1) !important;background-color:rgba(255, 255, 255, 1) !important;
    }
    ::v-deep .study_benbenTabsfd0_0{
        background:#fff;height:88rpx;white-space:nowrap;text-align:center;width:750rpx;font-size:32rpx;font-weight:400;color:rgba(102, 102, 102, 1);
    }
    .study_titlefd1_0_c3{
        margin:0rpx 132rpx 0rpx 0rpx;
    }
    .study_linefd1_0{
        background:rgba(205, 150, 45, 1);width:32rpx;height:4rpx;top:72rpx;background-size:100% auto !important;
    }
    .checkTitlefd1_0{
        font-weight:700 !important;font-size:28rpx !important;color:rgba(46, 46, 46, 1) !important;background-color:rgba(255, 255, 255, 1) !important;
    }
    ::v-deep .study_benbenTabsfd1_0{
        background:#fff;width:750rpx;height:80rpx;white-space:nowrap;text-align:center;color:rgba(102, 102, 102, 1);
    }
    .study_flex_2{
        background:var(--benbenbgColor1);margin:20rpx 0rpx 0rpx 0rpx;background-size:100% auto !important;padding:0rpx 24rpx 0rpx 24rpx;
    }
    .study_fd2_0_c1_c2_c2{
        color:#999999;font-size:20rpx;font-weight:400;line-height:28rpx;margin:0rpx 0rpx 0rpx 12rpx;
    }
    .study_progress1_fd2_0_c1_c2_c1{
        background:rgba(42, 139, 238, 1);border-radius:12rpx;
    }
    .study_fd2_0_c1_c2_c1{
        background:rgba(219, 219, 219, 1);width:249rpx;height:16rpx;border-radius:12rpx;background-size:100% auto !important;margin:0rpx 0rpx 0rpx 0rpx;
    }
    .study_fd2_0_c1_c2{
        margin:16rpx 0rpx 0rpx 0rpx;
    }
    .study_fd2_0_c1_c1_c0_c0{
        color:#636363;font-size:24rpx;font-weight:400;line-height:40rpx;
    }
    .study_fd2_0_c1_c1{
        margin:24rpx 0rpx 0rpx 0rpx;
    }
    .study_fd2_0_c1_c0_c1{
        border:1px solid #1D89EB;border-radius:64rpx 64rpx 64rpx 64rpx;width:120rpx;line-height:48rpx;font-size:22rpx;color:rgba(42, 139, 238, 1);height:48rpx;
    }
    .study_fd2_0_c1_c0_c0{
        color:#333333;font-size:28rpx;font-weight:700;line-height:40rpx;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .study_fd2_0_c0_c1_c0{
        color:#FFFFFF;font-size:20rpx;font-weight:400;line-height:28rpx;
    }
    .study_fd2_0_c0_c1{
        background:linear-gradient(180deg, #F14B0B 0%, #E3271D 100%);border-radius:6rpx 6rpx 6rpx 6rpx;width:64rpx;height:32rpx;position:absolute;top:0rpx;left:12rpx;
    }
    .study_fd2_0_c0_c0{
        width:258rpx;height:160rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .study_fd2_0_c0{
        border-radius:16rpx;margin:0rpx 24rpx 0rpx 0rpx;position:relative;
    }
    .study_fd2_0{
        border-bottom:1px solid #eee;padding:32rpx 0rpx 32rpx 0rpx;
    }
    .study_flex_3{
        padding:0rpx 24rpx 0rpx 24rpx;
    }
    .study_fd3_0_c1_c1_c0{
        color:#636363;font-size:24rpx;font-weight:400;line-height:40rpx;
    }
    .study_fd3_0_c1_c1{
        margin:0rpx 0rpx 16rpx 0rpx;
    }
    .study_fd3_0_c1_c0_c1{
        border:1px solid #1D89EB;border-radius:64rpx 64rpx 64rpx 64rpx;width:120rpx;line-height:48rpx;font-size:22rpx;color:rgba(42, 139, 238, 1);height:48rpx;
    }
    .study_fd3_0_c1_c0_c0{
        color:#333333;font-size:28rpx;font-weight:700;line-height:40rpx;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .study_fd3_0_c1_c0{
        margin:0rpx 0rpx 32rpx 0rpx;
    }
    .study_fd3_0_c0_c1_c0{
        color:#FFFFFF;font-size:20rpx;font-weight:400;line-height:28rpx;
    }
    .study_fd3_0_c0_c1{
        background:linear-gradient(180deg, #F14B0B 0%, #E3271D 100%);border-radius:6rpx 6rpx 6rpx 6rpx;width:64rpx;height:32rpx;position:absolute;top:0rpx;left:12rpx;
    }
    .study_fd3_0_c0_c0{
        width:258rpx;height:160rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .study_fd3_0_c0{
        border-radius:16rpx;margin:0rpx 24rpx 0rpx 0rpx;position:relative;
    }
    .study_fd3_0{
        border-bottom:1px solid #eee;padding:32rpx 0rpx 32rpx 0rpx;
    }
    .study_flex_4{
        margin:41rpx 0rpx 0rpx 0rpx;padding:0rpx 24rpx 0rpx 24rpx;
    }
    .study_fd4_1_c1_c1_c1{
        border:1px solid #1D89EB;border-radius:64rpx 64rpx 64rpx 64rpx;width:120rpx;line-height:48rpx;font-size:22rpx;color:rgba(42, 139, 238, 1);height:48rpx;
    }
    .study_fd4_1_c1_c1_c0_c0{
        color:#636363;font-size:24rpx;font-weight:400;line-height:33rpx;
    }
    .study_fd4_1_c1_c0_c0{
        color:#333333;font-size:32rpx;font-weight:500;line-height:45rpx;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .study_fd4_1_c1_c0{
        margin:0rpx 0rpx 75rpx 0rpx;
    }
    .study_fd4_1_c0_c1_c0{
        color:#FFFFFF;font-size:20rpx;font-weight:400;line-height:28rpx;
    }
    .study_fd4_1_c0_c1{
        background:linear-gradient(180deg, #F14B0B 0%, #E3271D 100%);border-radius:6rpx 6rpx 6rpx 6rpx;width:64rpx;height:32rpx;position:absolute;top:0rpx;left:12rpx;
    }
    .study_fd4_1_c0_c0{
        width:258rpx;height:160rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .study_fd4_1_c0{
        border-radius:16rpx;margin:0rpx 24rpx 0rpx 0rpx;position:relative;
    }
    .study_fd4_1{
        margin:22rpx 0rpx 22rpx 0rpx;
    }
    .study_fd4_0_c0_c1{
        color:#666666;font-size:28rpx;font-weight:400;line-height:56rpx;
    }
    .study_fd4_0_c0_c0{
        color:#333333;font-size:56rpx;font-weight:700;line-height:74rpx;
    }
    .study_fd4_0_c0{
        background:url(/static/images/44.png) no-repeat ,transparent;width:242rpx;height:242rpx;background-size:100% auto !important;
    }
    .study_fd4_0{
        margin:0rpx 0rpx 30rpx 0rpx;
    }
</style>